package com.bdqn.easybuy1.service.user;

import com.bdqn.easybuy1.entities.User;

import java.util.List;

public interface UserService {

    boolean add(User user);

    boolean update(User user);

    boolean deleteUserById(Integer userId);

    User getUser(Integer userId, String loginName);

    List<User> getUserList(Integer currentPageNo, Integer pageSize);

    int count();
}
